//
// Prefix header for all source files of the 'openmove' target in the 'openmove' project
//

#ifdef __OBJC__
#	import <Cocoa/Cocoa.h>
#endif

#ifdef __cplusplus
#	include <typeinfo.h>

#	include <OgreNoMemoryMacros.h>
#	include <xercesc/util/PlatformUtils.hpp>
#	if defined(XERCES_NEW_IOSTREAMS)
#		include <iostream>
#	else
#		include <iostream.h>
#	endif
#	include <xercesc/dom/DOM.hpp>
#	include <xercesc/parsers/XercesDOMParser.hpp>
#	include <xercesc/sax/HandlerBase.hpp>
#	include <xercesc/util/XMLString.hpp>
#	include <xercesc/sax2/DefaultHandler.hpp>
#	include <OgreMemoryMacros.h>

//mem probs without this next one
#	include <OgreNoMemoryMacros.h>
#	include <CEGUI/CEGUIImageset.h>
#	include <CEGUI/CEGUISystem.h>
#	include <CEGUI/CEGUILogger.h>
#	include <CEGUI/CEGUISchemeManager.h>
#	include <CEGUI/CEGUIWindowManager.h>
#	include <CEGUI/CEGUIWindow.h>
#	include <CEGUI/elements/CEGUIPushButton.h>
#	include "OgreCEGUIRenderer.h"
#	include "OgreCEGUIResourceProvider.h"
//regular mem handler
#	include <OgreMemoryMacros.h> 



#	include <Ogre.h>
#	include <OgreFrameListener.h>
#	include <OgreEventListeners.h>
#	include <OgreKeyEvent.h>
#	include <OgreStringConverter.h>
#	include <OgreException.h>

#	include "OgreExternalTextureSourceManager.h"

#	include "engine/OpenMoveDisplayPacket.h"
#	include "OMTimer.h"
#	include "Utils.h"

#	if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
#		define WIN32_LEAN_AND_MEAN
#		include "windows.h"

#if 1
#	ifdef min
#		undef min
#	endif
#	ifdef max
#		undef max
#	endif
#endif

#	endif

	using namespace Ogre;
#endif


